package com.lottery.system.common.errorcode;

/**
 * Description: 业务逻辑层的错误码
 * Param: * @param null
 * return:
 * @Author: xiaoxie
 * Date: 22:03 2024/8/27
*/
public interface ServiceErrorCodeConstants {
    //--------- 人员模块错误码 ----------
    ErrorCode USER_INFO_EMPTY = new ErrorCode(100,"用户信息为空!");
    ErrorCode USER_DATA_EMPTY = new ErrorCode(101,"用户数据为空!");
    ErrorCode USERNAME_USED = new ErrorCode(102,"用户名已存在!");
    ErrorCode PHONE_NUMBER_USED = new ErrorCode(103,"电话号码已存在!");
    ErrorCode EMAIL_USED = new ErrorCode(104,"邮箱已存在!");
    ErrorCode EMAIL_ERROR = new ErrorCode(105,"邮箱格式错误!");
    ErrorCode PHONE_NUMBER_ERROR = new ErrorCode(106,"电话号码格式错误!");
    ErrorCode PASSWORD_ERROR = new ErrorCode(107,"密码格式错误!");
    ErrorCode PASSWORD_REPASSWORD_ERROR = new ErrorCode(108,"两次输入的密码不一致!");
    ErrorCode IDENTIFY_ERROR = new ErrorCode(109,"用户身份信息错误!");
    ErrorCode LOGIN_INFO_IS_EXIST = new ErrorCode(110,"登录信息不存在!");
    ErrorCode USER_INFO_IS_EXIST = new ErrorCode(111,"用户不存在!");
    ErrorCode CAPTCHA_ERROR = new ErrorCode(112,"验证码发送失败!");
    ErrorCode CAPTCHA_IS_ERROR = new ErrorCode(113,"验证码输入错误!");
    ErrorCode LOGIN_INFO_ERROR = new ErrorCode(114,"登录信息错误!");
    ErrorCode PASSWORD_IS_ERROR = new ErrorCode(107,"密码或者账号错误!");

    //--------- 活动模块错误码 ----------
    ErrorCode PARAM_IS_EMPTY = new ErrorCode(200,"活动参数为空!");
    ErrorCode ACTIVITY_USER_IS_ERROR = new ErrorCode(201,"参加活动人员异常!");
    ErrorCode ACTIVITY_PRIZE_IS_ERROR = new ErrorCode(202,"活动奖品异常!");
    ErrorCode ACTIVITY_PRIZE_OR_USER_IS_ERROR = new ErrorCode(203,"活动奖品或人员数量异常!");
    ErrorCode ACTIVITY_PRIZE_TIERS_ERROR = new ErrorCode(204,"奖品等级异常!");
    ErrorCode ACTIVITY_STATUS_ERROR = new ErrorCode(205,"活动状态异常!");
    ErrorCode ACTIVITY_PRIZE_IS_EMPTY = new ErrorCode(206,"活动奖品不存在!");
    ErrorCode ACTIVITY_DATA_IS_EMPTY = new ErrorCode(206,"活动数据不存在!");

    //--------- 奖品模块错误码 ----------




    //--------- 抽奖模块错误码 ----------

    ErrorCode DRAW_PRIZE_DATA_IS_EXIT = new ErrorCode(400,"抽奖数据不存在,无法抽奖!");
    ErrorCode DRAW_PRIZE_ACTIVITY_STATUS_ERROR = new ErrorCode(401,"抽奖活动已结束,无法抽奖!");
    ErrorCode DRAW_PRIZE_PRIZE_STATUS_ERROR = new ErrorCode(402,"抽奖奖品已被抽取,无法抽奖!");
    ErrorCode DRAW_PRIZE_USER_STATUS_ERROR = new ErrorCode(403,"人员已被抽取,无法继续抽奖!");
    ErrorCode DRAW_PRIZE_AND_USER_COUNT__ERROR = new ErrorCode(404,"奖品数量和中奖人员数量不一致,无法继续抽奖!");

    //--------- 图片错误码 ----------
    ErrorCode PIC_UPLOAD_ERROR = new ErrorCode(500,"图片上传失败!");
}
